WP_Defender\Component\Config\Config_Hub_Helper A

Total Complexity 62
Dependencies 4
Dependents 24
Total lines 497
Lines of code 265
Logical lines of code 147
Comment lines 131
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
prepare_hub_configs_response()
A
46 10 39
check_and_save_configs_to_hub()
S
55 7 20
active_config_from_hub_id()
S
55 7 19
fetch_current_configs()
S
51 6 27
insert_to_hub()
S
49 5 33
update_on_hub()
S
52 5 25
delete_configs_from_hub()
S
56 4 18
send_request()
S
59 2 16
format_hub_config_to_save()
S
60 2 12
get_configs()
S
62 2 11
get_plugin_details()
S
67 2 7
delete_hub_removed_configs()
S
72 2 6
get_fresh_frontend_configs()
S
66 2 8
set_clear_active_flag()
S
70 2 6
check_remove_active_flag()
S
66 2 8
clear_config_transient()
S
80 1 3
add_configs_to_hub()
S
68 1 7